package com.book.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Author: 盛佳帅
 * @Description:  20173953
 */

@Data
@Accessors(chain = true)
@TableName("business_cart")
public class BookCart {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("bookname")
    private String bookname;

    @TableField("username")
    private String username;

    @TableField("pubid")
    private String pubid;

    @TableField("type")
    private String type;

    @TableField("bookmoney")
    private Integer bookmoney;

    @TableField("message")
    private String message;

    @TableField("number")
    private Integer number;
}
